package com.common.help.test01;

public class Test {

	public static void main(String[] args) {
		Player player = new Player();
		player.buy(11000D);
		System.out.println(player.calLastAmount());
		player.buy(11000D);
		System.out.println(player.calLastAmount());
		player.buy(11000D);
		System.out.println(player.calLastAmount());
		player.buy(11000D);
		System.out.println(player.calLastAmount());
	}
}
